﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace net_path.Tools.Password
{
    public class PasswordCode
    {
        public static string ReadCode(string pass)
        {
            var pass_len = PasswordVersion.ReadPasswordLength(pass);

            return pass.Substring(0, pass.Length - pass_len - 2);
        }
    }
}
